package com.yydm.serviceorder.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yydm
 * @since 2022-07-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AutomobileOrder对象", description="")
public class AutomobileOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单号")
    private String orderId;

    @ApiModelProperty(value = "汽车id")
    private String automobileId;

    @ApiModelProperty(value = "汽车名称")
    private String automobileName;

    @ApiModelProperty(value = "汽车图片")
    private String fileName;

    @ApiModelProperty(value = "创始人名称")
    private String founderName;

    @ApiModelProperty(value = "用户id")
    private Integer ucenterId;

    @ApiModelProperty(value = "用户名称")
    private String ucenterName;

    @ApiModelProperty(value = "订单金额")
    private String orderPrice;

    @ApiModelProperty(value = "订单类型(1.微信 2.支付宝)")
    private Integer orderType;

    @ApiModelProperty(value = "订单状态(1.已支付 2.未支付)")
    private Integer orderStatus;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
